package com.example.expinterview.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author parkin
 * @Date 2021/11/1 17:57
 * @Version 2.0
 * @Description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "分享面经日志")
public class EiShareArticleLog {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty("分享编号（全局唯一）")
    private String shareNo;

    @ApiModelProperty(value = "面经id")
    private Long articleId;

    @ApiModelProperty(value = "分享面经的用户id")
    private Long userId;
}
